#include <iostream>
#include <cstdio>
#include <cmath>

using namespace std;

int n,a[100005],b,mx,ans;
bool f;

int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=1;i<=n;i++){
        scanf("%d",&b);
        mx=max(mx,b);
        a[b]++;
    }
    for(int i=1;i<=mx;i++){
        if(a[i]){
            if(!f){
                ans=a[i];
                f=true;
                continue;
            }
            if(ans<a[i]){
                ans=a[i];
            }
        }
    }
    cout<<ans;
    return 0;
}
